How to use Orbacus ORB in JADE

Author: Giovanni Rimassa (University of Parma), Tiziana Trucco (CSELT S.p.A.)

Date: December 18, 2000

Java platform: Sun JDK 1.2 Windows

JADE version 2.1



Since JADE 2.1, FIPA-compliant Message Transport Protocols can be plugged and activated at run-time on any JADE container. By default, the ORB implementation of Sun is launched on the Main Container of the platform. However, in alternative, the ORBacus implementation is also available. This tutorial describes how to install and use this ORBacus implementation in JADE.

When a JADE container is started, it is possible to activate one ore more communication endpoints on it.
In order to use ORBACUS ORB the following steps must be performed:

At this point in time, an IIOP endpoint that uses an ORBacus-based IIOP MTP can be activated. There are two ways available to activate it: In brackets the IIOP address where the platform must listen to incoming FIPA messages can be specified. This has the big advantage that the address of the platform can be selected by the user and, eventually, might be published on your business card. In other words, there is no more any need to publish the IOR of the agent platform.

When a container starts, it prints on the standard output all the activated MTP addresses, separated by a carriage return. Moreover, it writes the same addresses in a file, named: MTPs-Container Name.txt.

Using the -mtp command line option, a transport endpoint lives as long as its container is up; when a container is shut down, all its MTPs are deactivated and the AMS information is updated accordingly. The JADE RMA console enables a more flexible management of the MTPs, allowing to activate and deactivate transport protocols during normal platform operations.

Configuring MTPs from the graphical management console.

Select a container from the GUI, click the right button of the mouse and a popup menu appears. Choose the Install a new MTP option and a dialog will be shown. Here the following information can be set: the container to install the new MTP on (if different from the selected one), the fully qualified name of the class implementing the jade.mtp.MTP interface, and (if it is supported by the chosen protocol) the transport address that will be used to contact the new MTP.

For example,

Choosing Uninstall an MTP shows a dialog where the user can select from a list one of the currently installed MTPs and remove it from the platform.


JADE is a trademark of CSELT. JADE has been developed jointly by CSELT and the Computer Engineering Group of the University of Parma